package com.lemonsama.lesson5;

import javax.swing.*;
import java.awt.*;

public class TextTest02 extends JFrame {
    public TextTest02() {

        Container contentPane = this.getContentPane();

        JPasswordField jPasswordField = new JPasswordField();
        jPasswordField.setEchoChar('*');

        contentPane.add(jPasswordField);

        this.setVisible(true);
        this.setSize(500, 350);
        this.setDefaultCloseOperation(EXIT_ON_CLOSE);
    }

    public static void main(String[] args) {
        new TextTest02();
    }
}
